<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>导航管理</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
function addChildContainer(){
	var childContainerNumber = $('#childContainerNumber').val();
	if (validation.checkNull(childContainerNumber)){
		alert('新增数量不能为空！');
		return;
	}
	if (!validation.isDigit(childContainerNumber)){
		alert('新增数量必须为数字！');
		return;
	}	
	parent.addChildContainer(childContainerNumber);
	parent.PopupBox.closeCurrent();
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="addChildContainer()"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="javascript:parent.PopupBox.closeCurrent();"><input value="&nbsp;" type="button" class="closeImgBtn" title="关闭" />关闭</td>
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
	<th width="100" nowrap>容器类型</th>
	<td width="80%"><%=pageBean.getStringValue("childContainerTypeName") %><input type="hidden" name="childContainerType" id="childContainerType" value="<%=pageBean.getStringValue("childContainerType")%>"/></td>
</tr>
<tr>
	<th width="100" nowrap>新增数量</th>
	<td width="80%"><input id="childContainerNumber" name="childContainerNumber" type="text" value="" size="10" class="text" /></td>
</tr>
</table>
</form>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
